package com.kemai.designmode.factory.abstract

import com.kemai.designmode.entry.Bag
import com.kemai.designmode.entry.Fruit
import com.kemai.designmode.entry.bag.AppleBag
import com.kemai.designmode.entry.fruit.Apple

/**

 *@description:TODO
 * @author: zhaoshanshan
 * @date: 2022/10/3 11:28 上午

 */
 class AppleAbstractFactory:AbstractFactory() {
    override fun getFruit(): Fruit {
        return Apple()
    }

    override fun getBag(): Bag {
        return AppleBag()
    }

}